import request from "../request";

/**
 * @returns 热门新碟
 */
export function getHotAlbums() {
  return request({
    url: "/album/newest"
  })
}

/**
 * @param {数量} limit 
 * @param {偏移量} offset 
 * @returns 全部新碟
 */
export function getAllAlbums(offset, limit) {
  return request({
    url: "/album/new",
    params: {
      offset,
      limit
    }
  })
}